<div class="more clear">
    <div class="share clear">
        <ul>
            <li>
                <a href="javascript:void(0);"
                   onclick="window.open('http://service.weibo.com/share/share.php?url='+encodeURIComponent(document.location.href));return false;"
                   title="分享到新浪微博">
                    <img src="/img/common/xinlang.png"/>
                </a>
            </li>
            <li>
                <a href="javascript:void(0);"
                   onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href));return false;"
                   title="分享到QQ空间">
                    <img src="/img/common/q_zone.png"/>
                </a>
            </li>
            <li>
                <a href="javascript:void(0);"
                   onclick="window.open('http://connect.qq.com/widget/shareqq/index.html?url='+encodeURIComponent(document.location.href));return false;"
                   title="分享到QQ好友">
                    <img src="/img/common/qq.png"/>
                </a>
            </li>
        </ul>
    </div>
    <div class="div_span">
                            <span class="load_span">
                                当前访问量：<label class="load_lbl number"></label>
                            </span>
        <br/>
        <span class="load_span">
                            更新时间：<label class="load_lbl updateTime">2018-01-29</label>
                        </span>
    </div>
</div>
<div class="copyright">

</div>
<script>
    var siteInfo = sessionStorage.getItem("site_info");
    if (siteInfo==null){
        init_site();
    }else {
        if (sessionStorage.getItem("site_info")<new Date().getTime()){
            init_site();
        }else {
            siteInfo = JSON.parse(siteInfo);
            $(".number").html(siteInfo["data"].count)
            $(".updateTime").html(siteInfo["data"].updateTime)
            $(".copyright").append(siteInfo["data"].record);
        }

    }

    function init_site() {
        $.get("/api/sites",function (info) {
            siteInfo = JSON.parse(info);
            sessionStorage.setItem("site_info",info)
            sessionStorage.setItem("site_time",new Date().getTime()+300000)
            $(".number").html(siteInfo["data"].count)
            $(".updateTime").html(siteInfo["data"].updateTime)
            $(".copyright").append(siteInfo["data"].record);
        })
    }

</script>